package com.wlyuan.open.dto.top;

import com.wlyuan.open.dto.order.OrderGoodsCreateDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author lijing
 * @description
 */
@Data
public class ExtensionGoodsDTO extends OrderGoodsCreateDTO implements Serializable {

    private static final long serialVersionUID = 6855076394079745578L;
    @ApiModelProperty("合同编号")
    private String contractNo;
    @ApiModelProperty("物品行号")
    private String itemNo;
    @ApiModelProperty("物品名称")
    private String name;
    @ApiModelProperty("物料编码")
    private String barcode;
    @ApiModelProperty("中文名")
    private String chineseName;
    @ApiModelProperty("无税（未税）单价")
    private BigDecimal noTaxPrice;
    @ApiModelProperty("含税单价")
    private BigDecimal taxPrice;
    @ApiModelProperty("含税金额")
    private BigDecimal taxAmount;
    @ApiModelProperty("未含税金额")
    private BigDecimal noTaxAmount;
    @ApiModelProperty("行项目折扣（未税）")
    private BigDecimal itemDiscountNoTax;
    @ApiModelProperty("行项目折扣（税）")
    private BigDecimal itemDiscountTax;
    @ApiModelProperty("行项目税额")
    private BigDecimal itemTax;
    @ApiModelProperty("行项目折扣")
    private BigDecimal itemDiscount;
    @ApiModelProperty("单位打印(采购单位)")
    private String purchaseUnit;
    @ApiModelProperty("批次号")
    private String batchNo;

    @ApiModelProperty("创建时间")
    private LocalDateTime createAt;
    @ApiModelProperty("更新时间")
    private LocalDateTime updateAt;
    @ApiModelProperty("创建人")
    private Long createBy;
    @ApiModelProperty("更新人")
    private Long updateBy;
}
